package com.trace.meat.entity;

import java.io.Serializable;

/**
 * (Animal)实体类
 *
 * @author makejava
 * @since 2021-06-19 11:17:23
 */
public class Animal implements Serializable {
    private static final long serialVersionUID = -79915080051376998L;

    private Integer aid;//牲畜id

    private Integer type;//类型

    private Integer breed;//品种

    private Object birth;//出生日期

    private Integer bid;//养殖者id

    private Integer lastOid;//最后订单id

    private Short state;//状态


    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getBreed() {
        return breed;
    }

    public void setBreed(Integer breed) {
        this.breed = breed;
    }

    public Object getBirth() {
        return birth;
    }

    public void setBirth(Object birth) {
        this.birth = birth;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public Integer getLastOid() {
        return lastOid;
    }

    public void setLastOid(Integer lastOid) {
        this.lastOid = lastOid;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Animal{" +
                "aid=" + aid +
                ", type=" + type +
                ", breed=" + breed +
                ", birth=" + birth +
                ", bid=" + bid +
                ", lastOid=" + lastOid +
                ", state=" + state +
                '}';
    }
}
